package _18_Abstraction_Polymorphism;

public class Cat extends Mammal
{

	@Override
	void makeNoise() 
	{
		System.out.println("Miau, miau");
		
	}

	@Override
	public void move(String direction) 
	{
		System.out.println("Moving like a cat.");
		
	}

	@Override
	public void stopMoving() 
	{
		System.out.println("Cat stops moving!");
		
	}

	@Override
	void eat(String food) 
	{
		System.out.println("Cat is eating " + food);
		
	}
	
	
	
	
}
